Namespace: OtlSync
Unit globals OtlSync
public unit globals OtlSync
CASAlignment
internal CASAlignment: integer
Const- False
Type- integer
GOmniCancellationToken
internal GOmniCancellationToken: IOmniCancellationToken
Const- False
Type- IOmniCancellationToken
CAS
public function CAS(oldValue: NativeInt; newValue: NativeInt; destination: ): boolean
Returns- boolean
CAS
public function CAS(oldValue: pointer; newValue: pointer; destination: ): boolean
Returns- boolean
CAS
public function CAS(oldData: pointer; oldReference: NativeInt; newData: pointer; newReference: NativeInt; destination: ): boolean
Returns- boolean
CAS16
public function CAS16(oldValue: word; newValue: word; destination: ): boolean
Returns- boolean
CAS32
public function CAS32(oldValue: cardinal; newValue: cardinal; destination: ): boolean
Returns- boolean
CAS32
public function CAS32(oldValue: pointer; newValue: pointer; destination: ): boolean
Returns- boolean
CAS64
public function CAS64(oldData: int64; newData: int64; destination: ): boolean
Returns- boolean
CAS8
public function CAS8(oldValue: byte; newValue: byte; destination: ): boolean
Returns- boolean
CreateOmniCancellationToken
public function CreateOmniCancellationToken(): IOmniCancellationToken
Returns- IOmniCancellationToken
CreateOmniCountdownEvent
public function CreateOmniCountdownEvent(Count: Integer; SpinCount: Integer; AShareLock: IOmniCriticalSection ): IOmniCountdownEvent
Returns- IOmniCountdownEvent
CreateOmniCriticalSection
public function CreateOmniCriticalSection(): IOmniCriticalSection
Returns- IOmniCriticalSection
CreateOmniEvent
public function CreateOmniEvent(AManualReset: boolean; InitialState: boolean; AShareLock: IOmniCriticalSection ): IOmniEvent
Returns- IOmniEvent
CreateResourceCount
public function CreateResourceCount(initialCount: integer): IOmniResourceCount
Returns- IOmniResourceCount
GetCPUTimeStamp
public function GetCPUTimeStamp(): int64
Returns- int64
GetThreadId
public function GetThreadId(): NativeInt
Returns- NativeInt
MFence
public procedure MFence()
Move128
public procedure Move128(Source: ; Destination: )
Move64
public procedure Move64(Source: ; Destination: )
Move64
public procedure Move64(newData: pointer; newReference: cardinal; Destination: )
MoveDPtr
public procedure MoveDPtr(Source: ; Destination: )
MoveDPtr
public procedure MoveDPtr(newData: pointer; newReference: NativeInt; Destination: )
NInterlockedExchangeAdd
public procedure NInterlockedExchangeAdd(addend: ; value: NativeInt)
SetEvent
public function SetEvent(event: TOmniTransitionEvent ): boolean
Returns- boolean
WaitForAllObjects
public function WaitForAllObjects(handles: array of THandle; timeout_ms: cardinal): boolean
summary- Waits on any number of handles.
returns- True on success, False on timeout.
Returns- boolean
WaitForCallback
public procedure WaitForCallback(Context: Pointer; TimerOrWaitFired: Boolean)
to Interface IOmniCancellationToken
Supplier- IOmniCancellationToken
Directed- False
Client- GOmniCancellationToken
Type- association